package com.shelpe.services.sustainer.repository.jpa;

import java.util.Date;
import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.shelpe.services.sustainer.entity.jpa.DevelopmentPlan;

public interface DevelopmentPlanRepository extends PagingAndSortingRepository<DevelopmentPlan, Long>{

	List<DevelopmentPlan> findByStatusAndModifiedTimeBetween(int status, Date start, Date end);
	
	List<DevelopmentPlan> findByStatusAndNextTimeBefore(int status, Date date);
}
